@count : 6;
@each: 360deg / @count;
@distance: 100px;
@boxshadow: 25px;

body {
  background-color: #000;
  overflow: hidden;
}

.container {
  position: absolute;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}


.box {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgb(0, 0, 0);
  box-shadow: inset 0 @boxshadow 0 @boxshadow rgb(255, 255, 255);
  mix-blend-mode: difference;
}

.for(@i) when (@i <= @count){
  @curRotate: @i * @each;
  @name : 'move@{i}';
  .box:nth-child(@{i}) {
    transform: rotate(@curRotate) translate(@distance);
    animation: @name 10s linear infinite;
  }

  @keyframes @name {
    100% {
      transform: rotate(calc(-1080deg + @curRotate)) translate(@distance);
    }
  }
  .for(@i+1);
}

.for(1);
